package indi.zhifa.study2024.consigntest.gen.busy.define.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import indi.zhifa.core.mpenhance.entity.annotations.ZfDbService;
import indi.zhifa.study2024.consigntest.gen.busy.define.po.GenCustomerEntity;
import indi.zhifa.study2024.consigntest.gen.busy.define.mapper.GenCustomerMapper;
import indi.zhifa.study2024.consigntest.gen.busy.define.service.IGenCustomerDbService;
import indi.zhifa.core.mpenhance.service.impl.ZfDbServiceImpl;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 织法
 * @since 2024-12-14
 */
@ZfDbService(name="GenCustomerEntity")
public class GenCustomerDbServiceImpl extends ZfDbServiceImpl<GenCustomerMapper, GenCustomerEntity> implements IGenCustomerDbService {

    @Override
    public void clearTest() {
        LambdaUpdateWrapper<GenCustomerEntity> updateWrapper = new LambdaUpdateWrapper<GenCustomerEntity>()
                .eq(GenCustomerEntity::getTestData,true);
        remove(updateWrapper);
    }
}
